fix index.html build directives and re-dist