add uri to data attributes for modules in pagedit.js