delete all broken icons, add debugging JS