changed checking script from checks.js to grader.js
added prelim code for reading from web