title: not all ":)" in the string is replace
body: <p>Below is my snippet where I have lots of ":)" but only one ":)" is replace, any ideas, help, clues, suggestions, recommendations please?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function(){
    
    var mm = "Hello :) hai there :) :)";
    
    $("#mm").text(mm.replace(":)","[emo_smile]"));
    
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;div id="mm"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>