Avoiding callback hell with event emitters added