A simple wrapper for the HTML5 localStorage.