Use inherits from npm instead of util.inherits

To avoid requiring the entirety of util,
inherits from npm is useful.
And, "inherits" is known to be compatible with
even old web browsers.