clean jslint error in index.js