live function ir removed from jQuery 1.9

I fixed some files so they are compatible with  jquery 1.9