update the jquery to prevent the default e