script.js now ready for game