I made some changes to script.js for drawcards