Write moment.js undefined spec