allow subclasses and multiple inheritance in `with javascript` mode.