fixing visits list tooltip reducing App.Visit javascript structure