Add demo
Use XHR readyState
Avoid double match in IE emulation
Improve PNG replacement in legacy IE