move javascript source code out of p.a.widgets (to plone mockup)