Rewriting rock paper scissors using Javascript