Adding a basic xhttprequest example with callback