Simple JS countdown for HTML integration.