Fossil SCM delta compression in JavaScript