Adding NewGame function and adding functionality to new Game
Adding some scripting..need create functions with repeated code
adding resets when clicking new game button
changes to js
Adding functions to repetitive code