Can you create a single instruction to handle the phrase BCC Fans community
?
if (document.title.match(/(.+?) - BCC Fans community$/)) {
document.title = document.title.match(/(.+?) - BCC Fans community$/)[1]
} else if (document.title.match(/^BCC Fans community - (.+)/)) {
document.title = document.title.match(^/BCC Fans community - (.+)/)[1]
}