Added moment.js library.
Added support for moment.js to handle dates. Changed console.log to this.echo. Changed log level to debug.