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