Experts have pinpointed genetic changes in children with a common form of arthritis to help predict if they will go on to develop a complication that can cause blindness.