Now grader.js works with urls and files, but code need some simplification