updated delete query for deleteArgoPost
removed unnecessary code from javascript event handling