jquery response is correct but picked up wrong
<p>Is there any idea why the code below keeps alerting as <strong>wrong</strong> although the response comes back as <strong>hello</strong>?</p>

<p>It should alert as <strong>correct</strong>!</p>

<p>Tnanks</p>

<p><strong>JQUERY</strong></p>

<pre><code>var term = 'jan';

$.ajax(
{
    type : 'POST',
    url  : 'process.php',
    data : 'term=' + term,
    dataType  : 'text',
    timeout   : 600000,
    success   : function(response)
    {
        if (response == 'hello')
        {
            alert('Correct');
        }
        else
        {
            alert('Wrong');
        }
    }
});
</code></pre>

<p><strong>PHP</strong></p>

<pre><code>if ($_POST['term'] == 'jan')
{
    echo 'hello';
}
else
{
    echo 'noooo';
}
</code></pre>
