reordee JS dependencies
(cherry picked from commit 91952b9307df01dd8229a361400ba265999d4fae)