js inheritance: fix missing word