upgrade datty.js