CON-2240: prevent links and images from opening in the preview iframe

Wouldn't it be more performant to use `:not()` selector instead of `.not()` method? http://jsperf.com/jquery-css3-not-vs-not