fix javascript date getYear() method