Adding simple JavaScript inheritance example.