Fix frontend promise, create index.html for websites