updated fancybox to work with newer jquery