update readme with basic examples

examples for both node and browser