Check for Browserify before using process.on