bug fix for js files orders