rewrite index.html, revolver.js