editTermUI js is now properly working