added localstorage implementation using basket.js