--- custom.js-old       2019-01-13 19:07:36.266860966 +0000
+++ custom.js   2019-01-13 19:00:21.788887336 +0000
@@ -1,5 +1,6 @@
+// Can also be used with $(document).ready()
  // Can also be used with $(document).ready()
-jQuery(window).load(function() {
+jQuery(window).on('load', function() {
   jQuery('.flexslider').flexslider({
     animation: "slide"
   });
