first attempt at restler support in grader.js
Working grader.js. Not happy w/ code duplication