I was able to resolve it by converting the constructs into HTML Entities. For example:
<% var subject = "<?= cms.subject ?>" %>
is equal to:
<% var subject ="<?= cms.subject ?>"; %>
By converting the syntax, I was able to pass the syntax through Contentful and then syntax was successfully re...