javascript library to reveal application state in url hash