Bunch of small changes, remove Visibility.js