Added grading script
grader.js supports url
grader.js checking document has been factored