Fix some JSLint warnings.