Working on making ajax calls for each tab