Mostly JSLint-ed. YUI Minified. Tested.