Standalone version of YUI promises