JSLint errors fixed.