A lightweight countdown library for the browser