[index.js] eliminate unused variable