javascript and fancybox