Create truncate.js