workflows: fix more template issues

* Fixes problem with JavaScript loading.
* Renames body2 to hpbody in holding pen templates.
date: change function call to lookup