Though it passes the gjslint checking here, I think it's better to expand the whole function with semicolon:
  function() {
    updateEnableUI(false);
  };