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