Switched an ajax call from html to json datatype in student.js.