change back to non-firebase js