reference error; console fix for IE9+