add javascript file for firebase calls