Allow for configuration

Export the `html` and `timeout`, allowing for custom behavior.  Also
export the `kill` function so we don't have to `process.exit` if we don't
want to.