Added initial templating for HTML/JS code generation.