Finished rebuildDOM module