fix #1730 use .scripts instead of .files
fix #1730 language loader es6 require compatible
fix #1730 switch to language loader