Fixing 2.5.1 loader with moment

This fixes a problem caused when adding moment.js as progressive enhancement to the datepicker. "moment" isn't defined in the loader.js file, so it errors. This fix defines the missing dependency.