removed console calls for IE!