Uncaught exception logging with stack traces for Backbone apps