Moved the contents of editrecord.js into profile.php, since I need to use PHP to manipulate the javascript on the server side.
Professor page will now pull professor's information from the database
Here I was, thinking all references to editrecord.js were gone