Midified jex.do() to forward the output of while condition.