fix jquery undefined