fix for jquery script