add DOM event example