xqy or js extension on search and patch libraries