Fix stackTrace() in preamble.js to support IE10 and IE11.
Merge pull request #2544 from juj/stacktrace_js

IE stack trace fix.