Add XMLHttpRequest example.