Fixed some JSLint errors.