added jslint to test step. fixed all jslint errors