Modifies dependency with jquery