more fixes to jquery