Add minification via yui to Makefile.
Modify license comments to bubble up.

Visible in coffeescript and in minifed js now.
Simplify palette distance choosing.
Add updated js.
Remove line from license comment.