Modified console to window.console and quoted class object keys.

Changes required to include non min version in older ie.