added mongoose
configuring fancybox window