Replying to "A JavaScript error occurred in the main process"