Partially removing the jQuery dependency.