fixed grader.js issues