I so miss jQuery. I\'m working on a project where I need to get my hands dirty with good \'ol plain Javascript again.
I have this scenario:
parent
To insert item as a last node use :parentNode.insertBefore(newNode, null);
parentNode.insertBefore(newNode, null);