Update grader.js

First attempt at implementation of URL parser