fix for #1730 component i18n

all tests passed  
I tested it and it works now :smile_cat:  
tested with `component install timaschew/moment@develop`
this is the grunt task which generates the **language-loader.js** file