HTML5 implementation of the famous Friction and Flyballs applet