Changing Date Format to Match JS toLocaleFormat