Apps can be embedded in this template using the following regular expression replacement.

document.body.outerHTML.replace(new RegExp('<div data-ucla-sa="replace">.*?</div>', 's'), '-- REPLACEMENT HTML --');