//initialize things globally if necessary
var move = "rock";

function respond(command) {
  if(command === "move")
    return Math.random() < 0.5 ? "rock" : "paper";
  else
    return "err";
}
@@ -155,13 +155,16 @@
  : %22
-paper
+scissors
 %22;%0A 

Change jsplayer behavior for more natural ranking