made changes to script.js folder

updated changes to wacky calculator in js folder