Added ability to pull out script blocks added with HtmlHelper