Add a script to redraw icons in :before/:after once the dom is ready