Fuzzy Functor in JavaScript.