switch veg_open to jquery