jsdoc
update examples for v2
grunt
code rewrite
2.0.0