Update refinery.js.erb

Make it compatible with Spree 2.0