Javascript exercise in Rock Paper Scissors Lizard Spock