allow appending elements to a dom container instead of just document.body
add PUSH to global so it can be accessible for javascript
rebuild