Create localstorage_adapter.js