fixed category ajax request (best practicies)