title: Replace certain phrase with another certain phrase
body: <p>I am just trying to replace a certain phrase / word with a unicode character in javascript / jQuery.</p>
  
  <p>I've tried the below and some other solution, but nothing seems to be working.</p>
  
  <pre><code>$(document).ready(function(){
      $("nav li a").html(function(i, currentHtml) {
            switch(currentHtml){
              case "About":
              return "&amp;#xe00f;";
  
              case "Work":
              return "&amp;#xe010;";
  
                  case "CV":
                      return "&amp;#xe00c;";
  
              case "Resume":
              return "&amp;#xe00e;";
  
                  case "down":
                      return "&amp;#xe00d;";
  
              case "Mail":
              return "&amp;#xe011;";
  
              case "Dribbble":
              return "&amp;#xe015;";
  
              case "GooglePlus":
               return "&amp;#xe012;";
  
              case "Facebook":
               return "&amp;#xe013;";
  
              case "Twitter":
               return "&amp;#xe014;";
  
                  default:
               return currentHtml;
      });
  });
  </code></pre>