Fixed JSLint errors.