While working on IE10, I have found that the JavaScript functions which are registered or called from the code behind are throwing exception:
\"JavaSc
Try placing the script at the end of the page using RegisterClientScriptBlock and call it.
RegisterClientScriptBlock
Page.ClientScript.RegisterClientScriptBlock("showGCAlert", "");