Added truncate.js to the project