added grader.js and its checks