That's weird, but might be related to `self` defaulting to `window`. That's why we stopped using that name in jQuery UI.