added fallback with jquery