Cross browser insert implementation