fix(index.js): clean up JS