JSON.stringify(this.schema) is used in four different places, probably better to refactor as `this.textContent = this.getSchemaText()` and adding a prototype function `getSchemaText: function() { return JSON.stringify(this.schema); }`