Update script.js

Created Functions to make an X and a Why