Get the ajax to work

Don't forget to eventually put the thingie back