Javascript plugin to save data in the browser using localstorage, with cookies as fallback.