Cleaned up flow to use more components of YUI3 (e.g. instead of own DOM ready handler use YUI3's relevant handler).
Cleaned up old code & console writes.