small enhancements to jquery versions