revise grader.js for hw3, tried callback