Converted to CoffeeScript
The shoe is stored in HTML5 local storage for 24 hours.