Minor Fix for text.js XHR