link to gh-pages example
naming, encapsulate type in closure