fix issue with missing Google Analytics in dev mode
cleanup and refactoring
Fix flexbox layout in Safari and iOS webkit