fixed jslint