make moment.js compatible with older version of requirejs
Merge pull request #1293 from vafada/develop

make moment.js compatible with older version of requirejs