log to console current year on window load event