Fix some jslint warnings.