grade.js working per hw3