I know this file has other content coming in from other pull requests, so it's probably going to have to change back to  the anonymous function example with this inside of it, like:

$(document).ready(function() {
  load_component_youtube();

  ..... other task related javascript
});