Update lib/xrds.js

fixed issue #92