Revised InfoBox to work with markers from array