`console.log` will throw an error in older versions of IE - should maybe use a detect here?