Fixing some minor JSLint warnings