Started working on the ajax stuff (not functioning)