XML cannot be the whole program
No good Google’d resources on this one, but here’s the solution:
Firebug throws this error when its expecting a script as the return dataType of your AJAX response. Set your dataType to XML (or HTML, if appropriate) and it’ll no longer try to parse the response as a script, fixing the error.