switched to moment.js