Applying JSLint rules