Javascript variables are not being embedded into the page

This bug caused the comments to not render at all (tested with Plone 4.1.6).