Pure javascript method to wrap content in a div Pure javascript method to wrap content in a div javascript javascript