Bug 937887 - App purchase loads a blank screen in the trusted UI due to a JS error. r=fabrice