Improve isVisibleElement with style, meta, link element