Declare winner in DOM with pure javascript (no jquery); used switched statements earlier