fix postMessage origin check
Merge branch 'master' into multiupload

* master:
  fix postMessage origin check