Create visibility.js