grader.js seems to be functional now, code is ugly and could be cleaned up a bit
code is fairly cleaned up now, there could be a bit more consolidation in loadURL and passOutput