added keyup event, updated simple example to show it