Fix jslint warnings