complex type - ES5 inheritance interaction bug