**Solução**
    
    var string = "aacc";
    var final  =  string.substring(0,2) + "bb" + string.substring(2);

**Links:**
[http://www.w3schools.com/jsref/jsref_substring.asp][1]
    


  [1]: http://www.w3schools.com/jsref/jsref_substring.asp