Added type attribute to script tags emitted from page.tag