add ajax controller to get terms list

add ajax controller to get terms list