Using ajax to mark posts as read