ecmascript 6 class inheritance