changed html file to async