add currentYear method in time.js