jslint issue fixed