changed grader js for restler