changed add/delete functionality to be handled by servlet; removed JS functionality