can we copy this over to `js/mkt/consumer-modal.js`?