The rsync algorithm implemented in JavaScript for Node.js