update RPS.js