fixed jslint issue