SPA: replace the DummyWorker by a real Worker
Fix jshint errors
Fix tests