moment.js added for data parsing