js is not defined error
<p>How can I get the error message on a good way to solve? Error message: timetotal is not defined.</p>

<pre><code> $(document).ready(function() {
    if (typeof(timeleft) !== 'undefined') {
        Chrono.update();
    }
    $('a.add_other_answer').click(function() {
        addAnswer();
    });
});

Chrono = {
    warning: timetotal * 0.25,
    critical: timetotal * 0.05,

    update: function() {
    ...
    ...
</code></pre>
