Adding grader.js to check rules in html