. fix various jQuery 1.9 bugs