Moved Marvin's javascript out of the html template.