js middleware takes all console.* calls out