JS accessor functions to Firebase for Applet