inherits.js docstring added