Allow Engine to initialize without document.body

This way we can define the engine before document.body exists.