added an example of delegate #js
changed comment
Merge pull request #8 from konstantindenerz/js

Js