//You'll find the client Id on your profile page after you've registered for a free trial.
exceptions.handler.reportToExceptionsJsPlatform({ clientId: "CLIENT_ID" });
//Now all errors will be reported through https://platform.exceptionsjs.com
//Visit https://github.com/steaks/exceptions.js to find more information about how
//you can use exceptions.js