task queue for node and browser backed by firebase