use appendChild instead of insertBefore
1.0.2