Making index.js throw index.html