Finally grader.js works. Sort of kludgy as it writes a file ) but still it works