adding logging when we do and dont find a patch to apply
only applying JS patches for code inside a library