Javascript library for detecting navigation to a page via hitting back in a browser