Delay creation of div until render
Update to latest implementation