Added patch provided by Victor Teichert for updated jQuery