Allow regenerator to be used as a Browserify transform.

Fixes #20.