Update inheritanceLib.js