grader.js updated and bugfixed