Add empty exit function

Came across this when trying to run node unit tests with Browserify.