Fix some small jslint errors