Fix for compatibility

this fix make compatible the plugin with frameworks like angular.
Becuase angular load the file in a tmp context and if we add the result
to document.body the final render never load that to main flow.