A simple example to work with AJAX with XHR element in raw Javascript.