You shouldn’t need to change this:
var d = moment($(this).text(), "dddd, MMMM D, YYYY");
To change the format in the new language, change this:
var newDate = d.locale('fr').format("dddd, MMMM D, YYYY");
The formats can be found here: Moment.js | Docs
Also, feel free to contact me for further code help and/or customization of third-party plugins