Fixed return page error in rps.js