adding moment.js support