Better version
Working grader.js