fix the js dependencies.