Double Click problem in html5

I have a simple c# script that detects clicks, double clicks, and long presses. Everything works fine in Unity. BUT

When I output to HTML5, double clicking makes things go crazy. I have an example:
http://www.gorogorosama.com/clickTest/index.html

After a double click, Input.GetMouseButton returns true even when the button is not pressed!

Wild guess maybe because JS has its own ondblclick event that is interfering?

Any ideas? Has anyone gotten double-clicking working from CS to an HTML5 build?

Solved with Unity v5.2.2