added partial ajax code for itemcategory