flesh out examples and README
move test.js -> examples.js