HTML5 local storage.
Done this elsewhere.