JavaScript library that implements a fractional delay