Persistent JavaScript is an ongoing work to provide an API and consistent data structure format to facilitate the mapping persistent objects to JavaScript. You can learn more about this work at http://www.persistentjavascript.org .