add polyfills and html template