title: Javascript Alternative to appendChild
body: <p>I want to insert a node as a child node (element node ) at a fixed position(0) i.e. it should replace a child node (if there is one) and not append..</p>
  
  <p>Which function should I use to ensure crossbrowser compatiblity?</p>