updated js inheritance post