PAYMENT FORM: Refactor over all the JS dividing the logic from the events
PAYMENT FORM: Further refactor over the dates' inputs js and the main payment js with all the calls.