Move js and css out of the template file

Move the JavaScript code and CSS style rules out of the template, into their
own static files.

Change-Id: I42361fc3cfcb32a600ab24962eb5767e5d7eb5c2
Merge "Move js and css out of the template file"