some more visibillity and js events