WebStorm editor creating HTML and JS for Dog Years expression