Adding code to hide Earth viewport when share popup is showing, using js