possible fix changing js order