Js counting of reminders.