unwanted code in published html page

unwanted code in published html page

Hi
im trying to put my published word document into an iframe on my website by using a direct link. There is extra code that I dont want to display on the page that is around the text content - its 

document.write('

content in here

');

How do i remove the code? (in red)
Thank you