updated "live" method to be compatible with the newer jQuery versions (i...

...n which the live method is deprecated)