Added moment.js & formatted dates correctly(front-end