events.js replaced by browserified nodejs one