Fix moment(new Date()) in Node REPL

This is a fix for #1084