pusher.js modified for production firebase