Rock Paper Scissors Game using javascript