switch to browser local storage