Added 'select all' functionality to html output