add IE8 support: handle the case where transitions are not available, and parentNode is always valued. Also remove some unused variables
add IE8 support: handle the case where transitions are not available, and parentNode is always valued. Also remove some unused variables

Lightstreamer/Lightstreamer-example-RoomBall-client-javascript,Weswit/Lightstreamer-example-RoomBall-client-javascript,Weswit/Lightstreamer-example-RoomBall-client-javascript,Lightstreamer/Lightstreamer-example-RoomBall-client-javascript