First two sync tests
Updated readme with javascript examples
Merge pull request #3 from awlawl/master

Javascript examples part 1 Fixes #2