experimenting with new CAT algorithm
js libs