Fixes issue with wrong js-file-order