fix mercury jquery