fixed jslint errors and gulp build