co-letter-all, a javascript version