Added edited cards.js file with inital attempt at conversion to Factory method.
Attempt while leaving all functions inside makeCard object