Curious as to why parent is optional, would you ever want to just append it to the body. Also if this is your desired behviour, this should be ```document.body`` and not just ``document```