undos the index.js handler