Fixed grader.js when imported as a module