First two sync tests
Updated readme with javascript examples