Attaching global YUI to window as required by the 'use strict' statement