async.setImmediate is undefined in a browser

When assigning setImmediate and nextTick in a browser, had to flip the order of assignment.