Fix issue #2

Use XMLHTTPRequest to send DELETE request.