make moment.js compatible with older version of requirejs

Using older version of requirejs (1.0.4), module.config function doesn't exists and moment.js crashes on load.

This PR is so make momentjs be compatible with older version of requirejs