Add examples of xhrHelpers functions

Adds examples of xhrHelpers functions for better documentation.