Removed JSLint errors