Small changes to have the examples work with an 'npm install'

Also, the examples/index.html without the charset would make the bundle.js unreadable