fixed jquery version checking