Updated XDStore.js with url parameter.