move more functionality into jquery's care