Updated grader.js for working asynchronously in order to read resources over http