Automatically generating dart/html files needed for headless running.