Added latest version of localstorage_adapter.js