Unlike the other users, i would like to let you know about another way to approach this issue.
Moment.js
Documentation - Reference
What's the purpose ?
This library is very popular among Javascript Developer because it is easy to implement and allows you to manipulate Date way more easily with provided built-in features.
Also, another interesting problem that is solved by using this library is the internationalization.
Internationalization and Date
As you may know, every language has its own way to handle and write date.
(Translated Month, Different Display, ect).
Moment.js provide a full suite of feature that allows you to deal with these easily with pre-translated words and syntax.
How to fix your issue with Moment.js
var myDate = moment("29/06/2017", "MM/DD/YYYY");
Furthermore you can check if your Date is valid
myDate.isValid();
And here, you can simply add a year by using :
myDate.add(1, 'y'); // Which stands for add a year