Fix bugs on Firefox & Greasemonkey
Fix bug with XMLHttpRequest on Firefox & Greasemonkey