Modified grade.js to include the restle library