Bug fix: JS error in branding