create js file/code for other user to embed to use on their sites
<p>I am creating a newsletter on my site, and after its completion I need to give a user a code to embed on their sites so they can directly show that pages on their sites. For this I am creating the HTML file for the main newsletter pages, now the main problem for me is - how to create a JS script for it and give the code for embedding it to thier site.</p>

<p>Please give me some suggestions here</p>
