This is embarrassing but I have already wasted enough time trying to figure it out.
when I call .load it takes the file name only and not the rest of the path and it calls it relative to the calling file. I need to call a file residing in another folder within the same domain.
var loadURL = "/aaMain/glossary.php";
it looks for glossary in relative url, not in aaMain!