js for most recent activity