rename helper function parameters to reflect their jQuery type