migration to sanitised DOM insertion begins