Fix up and add examples to inherits js.
Write initial specs for inherits js.