Move JavaScript from dashboard template into its own module
Make HTML comments Mako comments