Update dist and docs scripts

- better minification
- links to dist files.