OOP JS Framework with Classes and Scala-like Traits