modify grader.js to control remote html content using restler.js