Add init call to environment to handle waiting for document.body to be ready