Optimizer: multiple fixes and tests
browserify