Updated storage.js to API 'Wrapper'