Added tinyUrl functionality to timeline view using Javascript and AJAX