Correct JSLint warnings