using event listener to wait for page translation, still not doing everything I want this to