JSLint corrections