Javascript library and coincidences analysis