Update firebase.js