HTML5 implementation of the famous extrap applet