catch and emit parse errors

I was hitting some [uncaught parse errors](https://gist.github.com/ansis/0e692eda434a08f7b98f) from browserify.

Can we just catch and emit the error?