Replaced ejs with underscore.template.
Precompile templates for save and export.
Debug server / client to use precompiled template too.
Saved html to be stand-alone.