bugfix for jQuery local fallback