got rid of Firebase and analytics.js, added localStorage