moved cards into json. more jquery ui on the frontend