Fix #57. Update UMD. Always export new sync() function.
Merge pull request #58 from andornaut/master

Fix #57. Update UMD. Always export new sync() function.