$('#task').on('change', function() {
  if ( $(this).val() == 'custom') {
    $('#custom_videos').removeClass('hidden');
  } else {
    $('#custom_videos').addClass('hidden');
  }
});

$('#task').on('change', function() {
  if ( $(this).val() == 'custom') {
    $('#custom_videos').removeClass('hidden');
  } else {
    $('#custom_videos').addClass('hidden');
  }
});

$('#task').trigger('change');

Make sure UI is consistent on load
Make sure UI is consistent on load
