edit js/ditto