getNextCard() callable via AJAX

Implementation to change. This is a placeholder.