Initial revision. JS lib calculates year only