spree/spree — pull request #3500 by radar (2013-08-05 01:05:19+00:00)
Title: Fix IE8 compatibility issues with checkout.js and products.js

IE8 has a weird bug where function definitions outside of a ready statement were not being acknowledged. Moving them to being inside the ready statement fixes this issue.