move FIREBASE_URL to ref.js
ref
ref to ref