don't set headers on XDomainRequest, since the object doesn't support the method
set headers only if request class support it
set timeout/ontimeout options after opened request
add dist min file