Browserify visibility

Use visibility.js from npm via browserify.