Using JS to create example expressions to calculate year of birth in WebStorm