Really Simple History is a lightweight JavaScript library for the management of bookmarking and browser history in Ajax/DHTML applications. RSH serializes application data in an internal JavaScript cache so that bookmarks and the back button can be used to return your application to an earlier state.

This script works for Dojo, jQuery, MooTools, Prototype, YUI etc. or as a standalone script with the JSON parsers which is included in the download.