How to calculate age from 2 dates in Javascript