Fix JSLint violations