JavaScript version of the morel ipsum app