removed console.log as it causes IE9 to fuck up