Got script.js to reset game properly