grade.js first version