cache AJAX results in localStorage plus added some methods to docs