Simple working example, fix bug with JS snippet, write some doc.