move importing to a webworker