Fix js for close overlay results