Switches from jQuery.post to vanilla XMLHttpRequest