check for process.nextTick

Some CJS/AMD wrappers emulate the process object for browser usage, meaning that the process object would be defined, but nextTick would not.