When running under nodejs location is undefined, correct isSameDomain to not throw exception.
When running under nodejs location is undefined, correct isSameDomain to not throw exception.

oliversalzburg/stacktrace.js,qiangyee/stacktrace.js,auchenberg/stacktrace.js,stacktracejs/stacktrace.js,talves/stacktrace.js