Adding grades and assignments

VERY ugly JavaScript code to add assignments and grades using JS
Endpoints