improved dom

- more native functions
- better element creation
- easier appends
- simpler reference settings