jQuery Compatibility Fixes