HTML5 version of the famous Precip Type applet