1. refactored JS\n2.added bower\n3. added fancybox\n4. other small fixes