fixing html, adding doctype, adding 'no results' msg