Fix some jslint errors