fix a4a intersection observer (#19838)
fix a4a intersection observer (#19838)

* fix a4a intersection observer

* fix lint issues

media-net/amphtml,taboola/amphtml,zhangsu/amphtml,jmadler/amphtml,danielrozenberg/amphtml,taboola/amphtml,voyagegroup/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,adup-tech/amphtml,taboola/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,yandex-pcode/amphtml,jmadler/amphtml,laterpay/amphtml,cory-work/amphtml,alanorozco/amphtml,laterpay/amphtml,alanorozco/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,honeybadgerdontcare/amphtml,adup-tech/amphtml,prateekbh/amphtml,sharethrough/amphtml,sebastianbenz/amphtml,taboola/amphtml,lannka/amphtml,alanorozco/amphtml,alanorozco/amphtml,zhouyx/amphtml,cvializ/amphtml,jpettitt/amphtml,cory-work/amphtml,mhc-gh/amphtml,rsimha-amp/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,erwinmombay/amphtml,jridgewell/amphtml,alanorozco/amphtml,ampproject/amphtml,Gregable/amphtml,jpettitt/amphtml,zhouyx/amphtml,jpettitt/amphtml,Gregable/amphtml,smartadserver/amphtml,media-net/amphtml,nexxtv/amphtml,jridgewell/amphtml,dotandads/amphtml,voyagegroup/amphtml,jmadler/amphtml,jridgewell/amphtml,sebastianbenz/amphtml,cory-work/amphtml,tlong2/amphtml,widespace-os/amphtml,ampproject/amphtml,sebastianbenz/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,nexxtv/amphtml,adup-tech/amphtml,mhc-gh/amphtml,zhangsu/amphtml,yandex-pcode/amphtml,cory-work/amphtml,mhc-gh/amphtml,cory-work/amphtml,jmadler/amphtml,cvializ/amphtml,danielrozenberg/amphtml,lannka/amphtml,zhangsu/amphtml,Gregable/amphtml,techhtml/amphtml,ampproject/amphtml,widespace-os/amphtml,alanorozco/amphtml,src-code/amphtml,yandex-pcode/amphtml,honeybadgerdontcare/amphtml,voyagegroup/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,sharethrough/amphtml,sebastianbenz/amphtml,honeybadgerdontcare/amphtml,tlong2/amphtml,Gregable/amphtml,cory-work/amphtml,mhc-gh/amphtml,adup-tech/amphtml,nexxtv/amphtml,yandex-pcode/amphtml,dotandads/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,adup-tech/amphtml,laterpay/amphtml,ampproject/amphtml,techhtml/amphtml,zhouyx/amphtml,zhouyx/amphtml,jridgewell/amphtml,dotandads/amphtml,voyagegroup/amphtml,taboola/amphtml,erwinmombay/amphtml,src-code/amphtml,jmadler/amphtml,zhouyx/amphtml,media-net/amphtml,ampproject/amphtml,prateekbh/amphtml,danielrozenberg/amphtml,lannka/amphtml,prateekbh/amphtml,widespace-os/amphtml,voyagegroup/amphtml,laterpay/amphtml,dotandads/amphtml,honeybadgerdontcare/amphtml,smartadserver/amphtml,jpettitt/amphtml,media-net/amphtml,honeybadgerdontcare/amphtml,sebastianbenz/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,erwinmombay/amphtml,erwinmombay/amphtml,media-net/amphtml,techhtml/amphtml,yandex-pcode/amphtml,rsimha-amp/amphtml,lannka/amphtml,widespace-os/amphtml,prateekbh/amphtml,cvializ/amphtml,prateekbh/amphtml,yandex-pcode/amphtml,widespace-os/amphtml,mhc-gh/amphtml,mhc-gh/amphtml,dotandads/amphtml,erwinmombay/amphtml,jridgewell/amphtml,media-net/amphtml,src-code/amphtml,dotandads/amphtml,Gregable/amphtml,rsimha-amp/amphtml,media-net/amphtml,taboola/amphtml,zhouyx/amphtml,lannka/amphtml,prateekbh/amphtml,techhtml/amphtml,alanorozco/amphtml,erwinmombay/amphtml,cvializ/amphtml,jpettitt/amphtml,voyagegroup/amphtml,ampproject/amphtml,src-code/amphtml,cvializ/amphtml,Gregable/amphtml,zhangsu/amphtml,taboola/amphtml,voyagegroup/amphtml,tlong2/amphtml,zhouyx/amphtml,cvializ/amphtml,sebastianbenz/amphtml,src-code/amphtml,techhtml/amphtml,zhangsu/amphtml,rsimha-amp/amphtml,ampproject/amphtml,danielrozenberg/amphtml,sharethrough/amphtml,jpettitt/amphtml,tlong2/amphtml,lannka/amphtml,adup-tech/amphtml,tlong2/amphtml,Gregable/amphtml,prateekbh/amphtml,src-code/amphtml,lannka/amphtml,nexxtv/amphtml,tlong2/amphtml,media-net/amphtml,mhc-gh/amphtml,jpettitt/amphtml,ampproject/amphtml,jridgewell/amphtml,zhangsu/amphtml,laterpay/amphtml,smartadserver/amphtml,smartadserver/amphtml,honeybadgerdontcare/amphtml,cory-work/amphtml,techhtml/amphtml,jmadler/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,smartadserver/amphtml,widespace-os/amphtml,Gregable/amphtml,laterpay/amphtml,smartadserver/amphtml,nexxtv/amphtml