Updated jse w.r.t. some improved logging to find out what is going wrong.