Remove embedded css. Add event OnScriptRequired to BaseControl and some PropertyEventArgs and ScriptEventArgs.
User can now choose his own method to rendering script to page. This can be handle in MVC2 applications, or where ClientScript.RequireStartupScript method is uneffective...