If you have FirebugFirebug, you can use console.dir(object or array)console.dir(object or array) to print a nice tree in the console log of any javascriptJavaScript scalar, array, or object.
Try
Try:
console.dir(clickEvents);
or
console.dir(window);
console.dir(clickEvents);
or
console.dir(window);