String.replace, you have stung me again! Now a working single-HTML build, cleanup to come (tons of junk from trying various minification methods)