Javscript using firebase api!