Very broken, Porting to RequireJS

its broken pretty damn hard
variable and class name changes... all kinds of crap :|