HUE-2400 [core] The CSRF protection breaks some apps

Moved the XMLHttpRequest.send hack outside document.ready