HTML: HTML Template with JavaScript