Fix some small jslint issues