media and js added for new tmpl