javascript logic works, displays text that tells you who won.