a simple rock paper scissors game written in javascript