patch for jQuery. It is done on g5-5.0b18