use local javascript worker