Added ajax count to profile trackings count and cleaned js