solve jslint error