Binding the data tables with helpers

Is there a way to bind the helpers(search query is inside this) inside the data table? In my case, both are not synchronized. So sometimes the data table is already there, but the helper is still not loaded, so even when I have data binding later on, the data table shows no data to display on bottom(even when there is data comming from helper) and its sort and search function also doesn’t work.
down below is how I am loading data table.

 $.getScript("https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.19/js/jquery.dataTables.min.js",function(){            
      $('#show_my_listing').DataTable(); 
    });

Is there a way to tackle this ?