fixing js driver carrot-printing when applied to the entire query