Moved flex-slider js to <head>