Fix typos in inherits js.