Change true to false. Your HtmlGenericControl is already generating the script tags, however, I doubt that will work because you are returning a control and trying to present it as a string. You might be able to override the ToString() implementation, but I'd argue that isn't worth it.
Instead consider just return the HTML
public static HtmlGenericControl GoogleAPI()