Rock Scissors Paper in Javascript