OOP JS Framework with Classes and scala like Traits