Why do you need to use $() here? `element` is already a jq object, no?