removing unused browser checks
TC-1028: Adding a try catch around window.localstorage.setItem() to correct issue breaking private browsing on iOS