Bugfix (noticed in Plone 4.1.6). Javascript vars not embedded in the page