added a callback arguments param to xhr, changed send statement to return the id to the caller, either through the callback or function return