js-emass: A flexible JavaScript implementation of the emass algorithm