Moved template into client side JS for efficiency reasons
Merge branch 'ctam-template-efficiency'