fixed js loading for flexslider