I\'m trying to maintain a value on a page so that when the user is redirected and they hit the back button I can execute a javascript function to reset everything on the pag