JavaScript soft-rejected ('use strict' and CSS separate)

Hallo, envato friends!

May product was soft rejected because of 2 reasons:

1. STRICT MODE REQUIRED: All JavaScript should be written with “use strict” mode on. Please note that strict mode is scoped. For concise code it is recommened to placed

In the code below I have indicate how do I use ‘use strict’ (in the top of the entire file) mode on and I don’t understand what’s wrong with.

‘use strict’;
(function ($) {
$.fn.dbRuler = function (options) {
var defaults = {
width: null,
height: null,
step: 15,
titlesCount: 7,
font: ‘15px serif’,
color: ‘white’,
divisionHeight: 5,

Futuremore provided peace of code has 2 more functions inside the plugin scope

2. Please separate all demo CSS from plugin CSS. Avoid generic CSS in your plugin stylesheet (such as div, body, .color, .wrapper, etc). Please also name your plugin files uniquely.

About the CSS separation actually plugin hasn’t its own CSS. Entire plugin styling is inside canvas. And what exactly means “avoid generic CSS”? And why “Please also name your files uniquely” but they allready are named uniquely.

Best Regards,

ShardSky!