refactoring console.log moment() datetime