fix bug: on IE, sidebar is invalid due to using "console" test object