move canonical() and umd() from build.js to here
1.1.0