Process undefined in browser

Fix check if process == undefined.
Merge pull request #2 from MadeByMike/patch-1

Process undefined in browser