visibility.js changes