Add reset to index.js