Record credit card sales helped move JPMorgan Chase's quarterly earnings well past analysts' expectations.