figuring out why the ajax requests don't work