iframe postMessage back current location

优化if语句