Wait for dataTables script to load

Also wait for the dataTables script to load, allows placing jquery.dataTables.js in the scripts section at the end of the layout page, to avoid needing to put the jQuery and dataTables scripts in <head>