Port of issacs/inherits for requirejs