Working JSLint warnings