fixing jslint issue