stray commas in dicts
delete reference from firebase on page unload