Updating example.js for bridges settings, fixing bridges-related bugs