fancybox doesn't play well with newer JQuery so I patched the
problematic line