datatable added to frequency.php and ajax call changed