cards in separate js file, removed $ from non-JQuery var