Add support for cross-origin XMLHttpRequests
Improve example to show parsig errors at realtime