insert before last 2 char in javascript
<p>How would I insert a <code>%</code> before the last 2 characters in a word?</p>

<p>For example:</p>

<pre><code>var str = "Because";
</code></pre>

<p>Output:</p>

<pre><code>Becau%se
</code></pre>
