Basic implementation of methods needed to receive swiped credit card data with javascript.