refactored code to override_remote_link into a common application.js function $.override_remote_link
uses this in carts.js.coffee
ALL TESTS PASS