Fix IE problem - Node not defined
Fix IE problem - splice not working right