Added charactertables to the ajax call. Added if statements to not display data if there is not data with the appropriate entity type. This could likely be shifted to the controller.
Designed and implemented a Jquery/Javascript function pair to hide and show the corporation and character tables based on whether they have data to display. This function is called on success of the AJAX select method.
Commenteded out diagnostic lines.