How do I remove the "reverse character order" function?
<p>How do I remove the function in this code to reverse the order of the characters? All I would like this function to do is replace all vowels imputed with "er".</p>

<p>Here is the pastebin: <a href="http://pastebin.com/R9e0JRce" rel="nofollow">http://pastebin.com/R9e0JRce</a></p>

<pre><code>// JavaScript Document
function flip() {
    var result = flipString(document.f.original.value);
    document.f.flipped.value = result;
}

function flipString(aString) {
    aString = aString.toLowerCase();
    var last = aString.length - 1;
    var result = "";
    for (var i = last; i &gt;= 0; --i) {
        result += derpChar(aString.charAt(i))
    }
    return result;
}

function derpChar(c) {
    if (c == 'a') {
        return 'er'
    }
    else if (c == 'e') {
        return 'er'
    }
    else if (c == 'i') {
        return 'er' 
    }
    else if (c == 'o') {
        return 'er'
    }
    else if (c == 'u') {
        return 'er'
    }
    return c;
}
</code></pre>
