adding event listener to new game form

Currently there's a JS error on click of 'New Game' button.