Moved jsdoc inside the function body.

Hope this will help inspecting generators via javascript.
0.0.8