Convert index.html to ejs template with automatic script tags.