Offer rewritten with Backbone.js. Only working with localstorage so far