Fix JSLint issues