Working AJAX create deck