Javscript grades table

Migration of grades_table.js to jQuery and in the files which are calling for a function in the js file (link for the jquery library)
However, I'm not sure it's correct : the google console didn't detect anything but ...