local firebase.js