A shim for turning Firebase into an ES6 module