Update runner.js

Fix incorrect regexp in R.x & R.y checking