jquery fix with browserid auth gem;