I'm glad to see there's a follow-up which uses continuation-passing style:
http://mihai.bazon.net/blog/amb-in-javascript/take-two
This seems more in the spirit of 'amb.