Adds a script to the page using the control's rendermode