 
         _helpers.openModal params
 
-        cc_number = document.querySelector("[data-conekta-card-number]")
-        cc_date = document.querySelector("[data-conekta-card-date]")
-        cc_cvc = document.querySelector("[data-conekta-card-cvc]")
-
+        cc_number = $("[data-conekta-card-number]")
+        cc_date = $("[data-conekta-card-date]")
+        cc_cvc = $("[data-conekta-card-cvc]")
+
+        ###
         formatted = new Formatter cc_number, {
             'pattern': '{{9999}} {{9999}} {{9999}} {{9999}}',
             'persistent': false


                error = (response) ->
                    alert "error"

                Conekta.charge.create charge, success, error

            else 
                return


        document.querySelector("[data-conekta-card-submit]").addEventListener "click", makePayment, false


        return this

            'pattern': '{{9999}}',
            'persistent': false
            }
        ###

        cancelButton = (e) ->
            _helpers.removeModal()
