add truncateEventTitle function in util.js city
use truncateEventTitle in frontpage.js for events