fixed bug : insertBefore invalid number of arguments FF & IE.