Renders client script block with the option of rendering the script block in the Html header

For this to work Header must be defined as runat="server"