TMCWebClient.output = function (container) {

    this._template = {

        output: Handlebars.templates.OutputContainer

    },

    this._outputContainer,
    this._results;

    // Create container for submission results
    this._outputContainer = $('<div/>');

    $(container).append(this._outputContainer);
}

TMCWebClient.output.prototype.showResults = function (results) {

    /* jshint camelcase: false */
    var attributes = {

        status: results.status,
        tests: results.test_cases

    }
    /* jshint camelcase: true */

    this._outputContainer.append(this._template.output(attributes));
}

TMCWebClient.output.prototype.clear = function () {

    this._outputContainer.empty();
}

TMCWebClient.output = function (container) {

    this._template = {

        output: Handlebars.templates.OutputContainer

    }

    // Create container for submission results
    this._outputContainer = $('<div/>');

    $(container).append(this._outputContainer);
}

TMCWebClient.output.prototype.showResults = function (results) {

    /* jshint camelcase: false */
    var attributes = {

        status: results.status,
        tests: results.test_cases

    }
    /* jshint camelcase: true */

    this._outputContainer.append(this._template.output(attributes));
}

TMCWebClient.output.prototype.clear = function () {

    this._outputContainer.empty();
}

Remove unnecessary code - #7