make compatible with native imports: need to use postMessage instead of iframe on-load for inter-window comm.