fixed jquery finding for wierd env