I have written sorttable.makeSortable('table-name'). but i am getting an error: sorttable is not defined. i written the ajax function in another .js file.