JSLint warnings removed