Updated example.js and README