Corrected JSLint errors