js rewrite; opponent sees your move