title: Wordpress isn't loading custom javascript file
body: <p>I have this code:</p>
  
  <pre><code>add_action( 'wp_enqueue_scripts', '_enqueue_home_scripts', 20 );
  function _enqueue_home_scripts() {
      wp_enqueue_script( 'infite_scroll', get_bloginfo( 'stylesheet_directory' ) . '/js/vendor/jquery-3.1.1.min.js', array( 'jquery' ), '3.1.1', true );
      wp_enqueue_script( 'bower_port', get_bloginfo( 'stylesheet_directory' ) . '/js/bower.iostope.masonry.js', array( 'jquery' ), '1.0.0', true );
      wp_enqueue_script( 'infite_scroll', get_bloginfo( 'stylesheet_directory' ) . '/js/jquery.infinitescroll.js', array( 'jquery' ), '1.0.0', true );
      wp_enqueue_style( 'custom_css', get_bloginfo( 'stylesheet_directory' ) .'/css/custom.css');
      wp_enqueue_style( 'custom_js', get_bloginfo( 'stylesheet_directory' ) .'/js/custom/javascript.js');
      wp_register_script('mobile-numbers', get_bloginfo( 'stylesheet_directory' ) .'/js/custom/mobile-numbers.js');
      wp_enqueue_script('mobile-numbers', get_bloginfo( 'stylesheet_directory' ) .'/js/custom/mobile-numbers.js');
  }
  </code></pre>
  
  <p>The problem I am having is with <code>mobile-numbers</code> script:</p>
  
  <pre><code>jQuery(document).ready(function($) {
      console.log("script loaded");
      jQuery( ".nav-toggle-collapsed" ).on( "click", function() {
         console.log("clicked");
      });
  });
  </code></pre>
  
  <p>Nevermind the <code>click</code> code, I am just trying to get it to print the <code>"script-loaded"</code> message and it isn't, so it appears the script isn't being loaded at all. The first time I tested the script (not in its current form) it loaded, and then after that it wouldn't change. I removed the minified code from the old script, but that didn't help.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The only related error I have in the console is this - I think it is coming from the minified script with my script in it:</p>
  
  <blockquote>
    <p>header-35f05689-0.min.js:9 Currently is loaded jQuery version 3.1.1
    which is too low for OptimizePress. Please check if you're using
    WordPress version 3.5 or higher or contact customer support.</p>
  </blockquote>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I downloaded the latest <code>jquery</code> and put the file in the same directory as the old one and changed the line:</p>
  
  <pre><code>wp_enqueue_script( 'infite_scroll', get_bloginfo( 'stylesheet_directory' ) . '/js/vendor/jquery-3.1.1.min.js', array( 'jquery' ), '3.1.1', true );
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>wp_enqueue_script( 'infite_scroll', get_bloginfo( 'stylesheet_directory' ) . '/js/vendor/jquery-3.3.1.min.js', array( 'jquery' ), '3.3.1', true );
  </code></pre>