[DS-1502] Invalid XHTML in Javascript generated by Mirage theme

https://jira.duraspace.org/browse/DS-1502