set correct jquery-ref