removed moment.js dependancy