We can't inverse this, since this is already JavaScript, where we need correct order. Therefore, we should change the shadowing order for js dependencies.