Firebase app for javascript class