Fix demo code presentation in documentation for instances
Remove spurious xhr dependency and fix small instance.jsonp issue.