fix stack traces from js compiler