Changed the ajax to go straight through nodejs