Rewrite optimization dump
add dependencies to bower.json