Added initial templates and javascript.