markup cleanup, built last-5 list, bug fixes related to event delegation