[javascript] Is there a way to catch the back button event in javascript?