add local javascript worker to prevent CORS problems