switched to a selector in order to be able to remove fancybox
removal of fancybox class and href attributes on match