function showUserMessages(id, timeOut, message) {
  $(id).style.setProperty('transition',
      'opacity 0s ease-in');
  $(id).style.opacity = 1;
  $(id).innerText = chrome.i18n.getMessage(message);
  window.setTimeout(function() {
    $(id).style.setProperty(
        'transition', 'opacity' + timeOut + 's ease-in');
    $(id).style.opacity = 0;
    }, 1E3
  );
}
Displays various messages to user based on user input.
@param {String} id Id of status element.
@param {Number} timeOut Timeout value of message shown.
@param {String} message Message to be shown.