move all methods with "browser" versions into a single file xml.js, clone for browserify, specify in package.json