refactor
add example
update example
add index.js to index.html
update usage
refactor