Rewrite optimization dump
add dependencies to bower.json
fix dependencies
Change return object
fix docs