Note that you CANNOT buy unlimited metro cards at the machines at the Jamaica airtrain exit, or at least I have never found them available -- if they are available, I couldn't figure out how to do it!
For that, I've always had to go downstairs to the subway station.