Update replacement logic to avoid DOM operations when we won't change the HTML after all.
Update replacement logic to avoid DOM operations when we won't change the HTML after all.

mycolorway/jquery-ujs,rails/jquery-ujs,runephilosof/jquery-ujs,callumacrae/jquery-ujs,callumacrae/jquery-ujs,callumacrae/jquery-ujs,greinoso/Stefy,shakacode/jquery-ujs,shakacode/jquery-ujs,runephilosof/jquery-ujs,asilano/jquery-ujs,maclover7/jquery-ujs,runephilosof/jquery-ujs,greinoso/Stefy,AndyLampert/jquery-ujs,twalpole/jquery-ujs,asilano/jquery-ujs,callumacrae/jquery-ujs,universsky/jquery-ujs,asilano/jquery-ujs,dreamingblackcat/jquery-ujs,tuvaergun/jquery-ujs,rails/jquery-ujs,star-diopside/jquery-ujs,rails/jquery-ujs,star-diopside/jquery-ujs,maclover7/jquery-ujs,runephilosof/jquery-ujs,shakacode/jquery-ujs,rails/jquery-ujs,maclover7/jquery-ujs,mycolorway/jquery-ujs,mycolorway/jquery-ujs,mycolorway/jquery-ujs,tuvaergun/jquery-ujs,dreamingblackcat/jquery-ujs,universsky/jquery-ujs,twalpole/jquery-ujs,AndyLampert/jquery-ujs,universsky/jquery-ujs,JangoSteve/jquery-ujs,JangoSteve/jquery-ujs,dreamingblackcat/jquery-ujs,AndyLampert/jquery-ujs,tuvaergun/jquery-ujs,universsky/jquery-ujs,shakacode/jquery-ujs,dreamingblackcat/jquery-ujs,maclover7/jquery-ujs,star-diopside/jquery-ujs,star-diopside/jquery-ujs,tuvaergun/jquery-ujs,twalpole/jquery-ujs,twalpole/jquery-ujs,asilano/jquery-ujs,greinoso/Stefy,AndyLampert/jquery-ujs