A working grader.js; fixed index.html