Put back old 1.5.1 functionality after the rest of magicHtml was synced