javascript port of MachoIpsum