Added support for JSON XHR with HTML imports