inherits.js automatically add constructor to the new class
deferred.event.js removed useless lines