Javascript doesn't have the simplest library for dealing with dates. Particularly when it comes to adding dates. One common method is to convert the date object into its representation in seconds using getTime() then to add the required number of seconds and pass that result into the new Date method. Something like this:
var dateA = new Date(2014,6,1,0,0,0);
var dateB = new Date(2014,6,4,0,0,0);
for(var myDate = dateA; myDate <= dateB; myDate = new Date(myDate.getTime() + 1000 * 60 * 60 * 24))
{
var formatedDate = myDate.getMonth()+1;
formatedDate += "/" + myDate.getDate() + "/" + myDate.getFullYear();
console.log(formatedDate);
}
Also remember that in javascript months are zero indexed (0-11).