Add withBaseUrl to xitrum.js