ajax method works with category-box