setting dates with moments and JS