update to jquery 1.9.0

Updated depricated/removed methods from jquery, so it works with the latest jquery version.