understanding the expression to get your age through javascript