Fix JS error on related chart page
Only enforce purple-flag size on home page