Made the reporting data table dynamic via ajax