You are passing a string that represents a date. Date object can not understand it without some help...
However JavaScript Data object has a helper method -
parse()[
^]...
Using it you can convert your string to JavaScript date...
var myDate1 = new Date(Date.parse(dateString1));