Making users delete ajax more generic so that it can be used with pages and posts.