updated grader.js to include async callback fn