Javascript Playing Card Class