JSLint corrections
JSLint suggestions