use iframe whe no webworker and implement importScripts