Use divs instead of script templates.

Script templates don't show correctly in HTML tab.