updated readme, updated indexes to work in browser
fixed examples to work correctly out of the box