Avoid script tags executing JavaScript while editing.

Script tags that are meant to execute in the main page is actually executed in the editor iframe instead while editing. This fix uses $.parseHTML to strip the script tag from the HTML that is injected as a preview while editing.