Minor tweaks that new jQuery apparently requires