Improving j.map by adding input and output going down and up notifications