add .gitignore, example.html, fix example in readme