grader.js works with eurl, but needs re-factorying