I tried doing that but trivial replacement of `jQuery(currentNode)` with `$currentNode` plus adding a variable `$currentNode = jQuery(currentNode)` at the top doesn't seem to be enough. It makes some tests fail. I didn't dig in because I thought that you probably tell me why that is immediately.