more fixes for the README file. Fixed code to be a newer one. Added 1 more example into main.js