Fix jslint warnings reported by Travis.