Javascript `setInterval` for the command line.