Remove comment.
Prepare for serverside rendering.
Add a PHP renderer for doT templates ... does not handle all cases (far from it) but it's enought for COPS
Simplify the template a little.
Update some of the javascripts methods to use a PHP name to ease server side rendering.
Add (again) server side rendering ! the list of user agent need to be completed but it should work.