fixed jquery issue with different versions