move scripts to poddBase.html.ftl so they are available on add_object
and editObject