Fix JSLint warnings