Updated the window.onerror sample in bugLogClient.js