Added jQuery approach (hack) to enable local HTTP requests with JavaScript.

Browsers usually return HTTP status 0 for requests using a local protocol like file, app...
For local development it's nice to use simulated HTTP status 200 or 404 if responseText ist available or not.