update readme and example.js