Added script type to TextContent