grader.js working, but with undefined?