fix the way jquery is required