fixed #16 (console object in ie)