some browsers don't support the console object