Please show us the HTML on which the scripts are used. Especially the first one sounds like jQuery hasn’t been included properly. Also,
$.browser has looong been deprecated and should not be used. Instead of browser detection you should do feature detection, e. g. using
Donít click this link!