Make optimize.js executable
Add jasmine-node dev dependency and test script
0.12.2