How to stop browser back button using javascript stack overflow