<div class="table-responsive">
    <table id="custom-orders-table" class="display" cellspacing="0" width="100%">   
    </table>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        loadOrdersTable("#custom-orders-table", "custom");
    });
</script>