Working example for inheritance in JS and added readme.