Replying to "Javascript error occurred in the main process"