Migrate client HTML/CSS/JS to template