filter $privacy_checks so we don't catch any chaff

There had been a bug where some things that weren’t modules got lumped
into is_module checks through this, because of
e4dd8b392a092ce22d78468561ac6eb985f0e87f
Likes: Abstract out jQuery selector.
Likes: JSHint Code Quality Tweaks