Initial separation of cards.js from VN modal.js.