javascript month date generate test