update grader.js to working version
cleaned up grader.js