Change onclick handlers to be IE friendly CRM-12019

Did a mass update of all onclick handlers to fix IE issue.
We can close CRM-12019 after pulling this.