Refactor index.html of html5-template