fix people overlay javascript