Common library update
truncate.js adopted