Multiple inheritance for JS