A simple JavaScript job scheduler.