This is more like a general JavaScript question, sorry, we can't provide much support. But when you do "return x = true" the control flow exits the function and "next()" is never called. I assume you have "x" declared outside of the "chain", otherwise it may create undefined global.