Javascript errors caused by  elements being wrapped inside a  tag I noticed that my site footer and a lot of &lt;script&gt; elements are wrapped inside a &lt;strong&gt; tag.
This is causing a lot of JS errors of the type:

Uncaught TypeError: Cannot read property 'permissionsHash' of undefined
Uncaught TypeError: Cannot set property 'StateModel' of undefined
Uncaught TypeError: Cannot set property 'AuralView' of undefined

How can I fix that?
I found out that the checkbox 'Trim this field to a maximum number of characters' was checked in one of my views which was trimming some HTML from the field content (closing tags) and causing the issue.

checking the option 'Field can contain HTML' fixed the issue for me.