add ifvisible.js detection