Cart.js prototype working