Doc

Need go installed to build.
Shorten example javascript

Pass function directly.