Stay on uglify-js 1.x.y. UglifyJS 2 changed its switches so the posttest script throws an error, and 1.3.4 minifies the library better.
package.json: Remove the pretest script. Causes an infinite loop with npm 1.2.0+.
Update canvas to ~1.0.1 (works with node.js 0.10).
Merge pull request #5 from papandreou/master

Misc. fixes for node.js 0.10, npm 1.2.0 and Uglify.js