Add js inheritance example