$(document).ready( function() { $("> .wall-item-outside-wrapper .autotime, > .thread-wrapper .autotime").timeago(); $("> .shared_header .autotime").timeago(); });