fix for multiple on change in cart.js