Release v0.12.2

Some house keeping for package.json 
Update changelog and package.json version

I've made optimize.js executable, not sure if you want this?