Setting up Wrestling Game in Javascript with Functions