add ajax features for the category links. has defect.