snapshot-functionalities put into a worker-script: js/helpers/snapshot_worker.js