fixed jquery check