added the other lines to the checks
fixed grader.js, finished the assignment