Alrighty, make sense. we are also trying to get YUI sandboxing working with v76 release, then we wont rely on page YUI code at all, so hopefully soon we wont need this ugly if conditon. I will take your PR for now anyways.