update inheritance slide to use ES5