A game of Rock, Paper, Scissors written in JavaScript