text: $(window).on('load', function () {
      $('#encoded').bind('input propertychange', function (eventObject) {
          if (eventObject.originalEvent !== undefined) {
              // TODO
          }
      });
  });
  