Removed old code from dom.js and did a more nicer fix for prepend when you use prepend when it's no elements in the element you trying to prepend to.