console variable does not exist in older browsers