Fixes #1 - Checking for process.browser as well.

browserify also has an process object, but sets process.browser to true, so
building with browserify works now too.