added jQuery fallback