update API's
add example
rm chai.js