change the es6 index.html