Revert "solving jquery issue in fancybox"

This reverts commit 6945ad155ac9f6fdc36c1d338fc2a117fdaea535.