Fix some jslint warnings