started integrating moment.js and refactoring the Date.js formatter