ajax stuff for deleting posts