location.refresh(), not window.refresh().
prevent duplicate posts from appearing when newer posts become available.