A JS implementation of the Unicode Line Breaking Algorithm (UAX #14)