Made speed improvements by loading CM script via script tag and not doc.write in v18 JS