Add onkeyup and onclick events to the example page

Remove empty line