Fix some JSLint problems