Update visibility.core.js