catch error thrown in cross-domain iframe
Merge pull request #13 from teambition/master

catch error thrown in cross-domain iframe