Made stack traces optional.
Updated dynjs dependency.
Renabled tests affected by the regex fix.