Port of the Android ToneDef tone dialer to HTML5