rewrite to wilsons v1 convention, add early hide events
rename files, move example
Merge branch 'master' into gh-pages